import FontAwesome from '@expo/vector-icons/FontAwesome';
import { Tabs, Stack } from "expo-router";
export default function TabsLayout() {
    return (
        <Tabs
            screenOptions={{ tabBarActiveTintColor: 'blue' }}
        >
            <Tabs.Screen
                name="index"
                options={{
                    title: '首页',
                    tabBarIcon: ({ color }: any) => <FontAwesome size={28} name="home" color={color} />,
                    headerShown: false,
                }}
            />
            <Tabs.Screen
                name="qianb"
                options={{
                    title: '钱包',
                    tabBarIcon: ({ color }: any) => <FontAwesome size={28} name="bell" color={color} />,
                    headerShown: false,
                }}
            />
            <Tabs.Screen
                name="saom"
                options={{
                    title: '扫码',
                    tabBarIcon: ({ color }: any) => <FontAwesome size={28} name="camera" color={color} />,
                    headerShown: false,
                }}
            />
            <Tabs.Screen
                name="tongj"
                options={{
                    title: '统计',
                    tabBarIcon: ({ color }: any) => <FontAwesome size={28} name="beer" color={color} />,
                    headerShown: false,
                }}
            />
            <Tabs.Screen
                name="qiang"
                options={{
                    title: '个人',
                    tabBarIcon: ({ color }: any) => <FontAwesome size={28} name="child" color={color} />,
                    headerShown: false,
                }}
            />
        </Tabs>
    );
}
